package com.demo.di.simple;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * 描述：
 *
 * @author lida
 * @time 2019/10/11 15:12
 */
public class SimpleValueDI {

	public static void main(String[] args) {
		AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext("com.demo.di.simple");
		SimpleValue sv = ac.getBean("simpleValue",SimpleValue.class);
		System.out.println(sv.toString());
	}
}
